<?php


class Attribute {

	private $name = "";
	private $type= "";
	private $typeSize= "";
	private $isNull = false;
	private $isAutoIncrement = false;
	private $comment = "";
	private $isPrimaryKey = false;
	private $isForeignKey = false;
	private $isForeignKeyForTable = "";
	private $possibleValue = "";
	private $exportInForm = false;
	private $isHidden = false;

	public function __construct() {
	}
	
	public function getName(){
		return $this->name;
	}
	public function setName($name){
		$this->name = $name;
	}
	
	public function getType(){
		return $this->type;
	}
	public function setType($type){
		$this->type = $type;
	}

	public function getTypeSize(){
		return $this->typeSize;
	}
	public function setTypeSize($typeSize){
		$this->typeSize = $typeSize;
	}
	
	public function getIsNull(){
		return $this->isNull;
	}
	public function setIsNull($isNull){
		$this->isNull = $isNull;
	}
	
	public function getIsAutoincrement(){
		return $this->isAutoincrement;
	}
	public function setIsAutoincrement($isAutoincrement){
		$this->isAutoincrement = $isAutoincrement;
	}
	
	public function getComment(){
		return $this->comment;
	}
	public function setComment($comment){
		$this->comment = $comment;
	}
	
	

	public function getIsPrimaryKey(){
		return $this->isPrimaryKey;
	}
	public function setIsPrimaryKey($isPrimaryKey){
		$this->isPrimaryKey = $isPrimaryKey;
	}
	

	public function getIsForeignKey(){
		return $this->isForeignKey;
	}
	public function setIsForeignKey($isForeignKey){
		$this->isForeignKey = $isForeignKey;
	}
	
	
	public function getForeignKeyForTable(){
		return $this->isForeignKeyForTable;
	}
	public function setForeignKeyForTable($isForeignKeyForTable){
		$this->isForeignKeyForTable = $isForeignKeyForTable;
	}
	

	public function getForeignKeyReference(){
		return $this->isForeignKeyReference;
	}
	public function setForeignKeyReference($isForeignKeyReference){
		$this->isForeignKeyReference = $isForeignKeyReference;
	}
	
	public function getPossibleValue(){
		return $this->possibleValue;
	}
	public function setPossibleValue($possibleValue){
		$this->possibleValue = $possibleValue;
	}
	
	public function setExportInForm($exportInForm){
		$this->exportInForm = $exportInForm;
	}
	public function getExportInForm(){
		return $this->exportInForm;
	}
	
	public function setIsHidden($isHidden){
		$this->isHidden = $isHidden;
	}
	public function getIsHidden(){
		return $this->isHidden;
	}
	
	
	
	
}


?>